<template>
    <div class="text padding-left-10" :style="textStyle">
        {{props&&props.text||'文本'}}
    </div>
</template>
<script>
    import {createProp} from '@/util/util';

    export default {
        props: {
            props: createProp([Object], {default: {}})
        }, computed: {
            textStyle() {
                var fontSize = this.props.fontSize
                var textAlign = this.props.textAlign
                return {
                    fontSize, textAlign,
                }
            }
        }
    }
</script>
<style lang="scss">
    .mint-search {
        height: 53px;
    }
</style>
<style lang="scss" scoped>
    .text {
        padding-top: 10px;
        padding-bottom: 10px;
    }
</style>
